home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group93b.txt / 000041_icon-group-sender _Wed Apr 28 23:23:02 1993.msg < prev    next >
Internet Message Format  |  1993-06-16  |  1KB

  1. Received: by cheltenham.cs.arizona.edu; Thu, 29 Apr 1993 05:50:30 MST
  2. Date: Wed, 28 Apr 93 23:23:02 PDT
  3. From: John Paolillo <johnp@CSLI.Stanford.EDU>
  4. To: icon-group@cs.arizona.edu
  5. Subject: "What cool things..."
  6. Message-Id: <CMM.0.90.4.736064582.johnp@Csli.Stanford.EDU>
  7. Status: R
  8. Errors-To: icon-group-errors@cs.arizona.edu
  9.  
  10. pat someone writes:
  11.  
  12. >
  13. My question, is?  WHat really cool things have been done in ICON?
  14.  
  15. and how much code did it take to  implement them?
  16.  
  17. pat
  18. <
  19.  
  20. As my first real project in Icon, I wrote a program that could
  21. parse some Icon(-like) expressions, and execute them.  The code
  22. was all of one page in length.  I used this to learn about Icon
  23. expressions that I wanted to know more about, and to have fun
  24. with long-integer arithmetic (like 345 raised to the 24th).  I'd
  25. like to know if a rank beginner like me could expect to do as
  26. much in any other language.  
  27.  
  28. Icon is such a powerful language, and I bet we could really see that
  29. if we held an informal "one-liner" contest (Heizer software does this 
  30. for their compiled HyperTalk product).  The rules are simple: you
  31. are allowed one line of code between your procedure declaration and
  32. the "end" statement.  Within that, you can do anything you like.
  33. Anybody know any good one-liners?
  34.  
  35. John C. Paolillo
  36. University of Texas at Arlington
  37.